Use PECheckSelectionFormula to check the text of the report's record selection formula for errors. Use this function whenever the record selection formula has been changed and you want to check the formula for syntax errors.
BOOL CRPE_API PECheckSelectionFormula (
short printJob );
Specifies the print job containing the record selection formula that you want to check. |
VB Sample Code for modifying selection formulas and group selection formulas |
Declare Function PECheckSelectionFormula Lib "crpe32.dll" (ByVal printJob As Integer) As Integer
function PECheckSelectionFormula (
printJob: Word
): Bool stdcall;
EXTERN CLOGICAL PECheckSelectionFormula (CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |